package com.and9.mchen.mcmusic.dao.factory;

import com.and9.mchen.mcmusic.dao.ISingerDao;
import com.and9.mchen.mcmusic.util.EntityHelper;

public class SingerDaoFactory {

	private ISingerDao singerDao = null;
	private static SingerDaoFactory instance = new SingerDaoFactory();
	
	private  SingerDaoFactory(){
		singerDao=(ISingerDao) EntityHelper.createDaoByProperty("ISingerDaoClass");
	}
	public static SingerDaoFactory getInstance(){
		return instance;
	}
	public ISingerDao getSingerDao(){
		return singerDao;
	}
	
}
